/**
 * @Interface IActorResponse
 */
export class ObjectQueryResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
    Entity: Uint8Array;
}

/**
 * @ResponseTypeAttribute ObjectQueryResponse
 * @Interface IActorRequest
 */
export class ObjectQueryRequest {
    RpcId: number;
    Key: number;
    InstanceId: number;
}

/**
 * @Interface IActorResponse
 */
export class A2M_Reload {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute A2M_Reload
 * @Interface IActorRequest
 */
export class M2A_Reload {
    RpcId: number;
}

/**
 * @Interface IActorResponse
 */
export class G2G_LockResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute G2G_LockResponse
 * @Interface IActorRequest
 */
export class G2G_LockRequest {
    RpcId: number;
    Id: number;
    Address: string;
}

/**
 * @Interface IActorResponse
 */
export class G2G_LockReleaseResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute G2G_LockReleaseResponse
 * @Interface IActorRequest
 */
export class G2G_LockReleaseRequest {
    RpcId: number;
    Id: number;
    Address: string;
}

/**
 * @Interface IActorResponse
 */
export class ObjectAddResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute ObjectAddResponse
 * @Interface IActorRequest
 */
export class ObjectAddRequest {
    RpcId: number;
    Key: number;
    InstanceId: number;
}

/**
 * @Interface IActorResponse
 */
export class ObjectLockResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute ObjectLockResponse
 * @Interface IActorRequest
 */
export class ObjectLockRequest {
    RpcId: number;
    Key: number;
    InstanceId: number;
    Time: number;
}

/**
 * @Interface IActorResponse
 */
export class ObjectUnLockResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute ObjectUnLockResponse
 * @Interface IActorRequest
 */
export class ObjectUnLockRequest {
    RpcId: number;
    Key: number;
    OldInstanceId: number;
    InstanceId: number;
}

/**
 * @Interface IActorResponse
 */
export class ObjectRemoveResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute ObjectRemoveResponse
 * @Interface IActorRequest
 */
export class ObjectRemoveRequest {
    RpcId: number;
    Key: number;
}

/**
 * @Interface IActorResponse
 */
export class ObjectGetResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
    InstanceId: number;
}

/**
 * @ResponseTypeAttribute ObjectGetResponse
 * @Interface IActorRequest
 */
export class ObjectGetRequest {
    RpcId: number;
    Key: number;
}

/**
 * @Interface IActorResponse
 */
export class G2R_GetLoginKey {
    RpcId: number;
    Error?: number;
    Message?: string;
    Key: number;
    GateId: number;
}

/**
 * @ResponseTypeAttribute G2R_GetLoginKey
 * @Interface IActorRequest
 */
export class R2G_GetLoginKey {
    RpcId: number;
    Account: string;
}

/**
 * @Interface IActorLocationMessage
 */
export class G2M_SessionDisconnect {
    RpcId: number;
}

/**
 * @Interface IActorResponse
 */
export class M2M_UnitTransferResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
    NewInstanceId?: number;
}

/**
 * @ResponseTypeAttribute M2M_UnitTransferResponse
 * @Interface IActorRequest
 */
export class M2M_UnitTransferRequest {
    RpcId: number;
    OldInstanceId: number;
    Unit: Uint8Array;
    Entitys: Uint8Array[];
}

/**
 * @Interface IActorResponse
 */
export class L2A_LoginAccountResponse {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute L2A_LoginAccountResponse
 * @Interface IActorRequest
 */
export class A2L_LoginAccountRequest {
    RpcId: number;
    AccountId: number;
}

/**
 * @Interface IActorResponse
 */
export class G2L_DisconnectGateUnit {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute G2L_DisconnectGateUnit
 * @Interface IActorRequest
 */
export class L2G_DisconnectGateUnit {
    RpcId: number;
    AccountId: number;
}

/**
 * @Interface IActorResponse
 */
export class R2A_GetRealmKey {
    RpcId: number;
    Error?: number;
    Message?: string;

    RealmKey: string;
}

/**
 * @ResponseTypeAttribute R2A_GetRealmKey
 * @Interface IActorRequest
 */
export class A2R_GetRealmKey {
    RpcId: number;
    AccountId: number;
}

/**
 * @Interface IActorResponse
 */
export class G2R_GetLoginGateKey {
    RpcId: number;
    Error?: number;
    Message?: string;

    GateSessionKey: string;
}

/**
 * @ResponseTypeAttribute G2R_GetLoginGateKey
 * @Interface IActorRequest
 */
export class R2G_GetLoginGateKey {
    RpcId: number;
    AccountId: number;
}

/**
 * @Interface IActorResponse
 */
export class L2G_AddLoginRecord {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute L2G_AddLoginRecord
 * @Interface IActorRequest
 */
export class G2L_AddLoginRecord {
    RpcId: number;
    AccountId: number;
    ServerId: number;
}

/**
 * @Interface IActorLocationResponse
 */
export class M2G_RequestEnterGameState {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute M2G_RequestEnterGameState
 * @Interface IActorLocationRequest
 */
export class G2M_RequestEnterGameState {
    RpcId: number;
}

/**
 * @Interface IActorLocationResponse
 */
export class M2G_RequestExitGame {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute M2G_RequestExitGame
 * @Interface IActorLocationRequest
 */
export class G2M_RequestExitGame {
    RpcId: number;
}

/**
 * @Interface IActorResponse
 */
export class L2G_RemoveLoginRecord {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute L2G_RemoveLoginRecord
 * @Interface IActorRequest
 */
export class G2L_RemoveLoginRecord {
    RpcId: number;
    AccountId: number;
    ServerId: number;
}

/**
 * @Interface IActorResponse
 */
export class UnitCache2Other_AddOrUpdateUnit {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute UnitCache2Other_AddOrUpdateUnit
 * @Interface IActorRequest
 */
export class Other2UnitCache_AddOrUpdateUnit {
    RpcId: number;
    UnitId: number;
    EntityTypes?: string[];
    EntityBytes?: Uint8Array[];
}

/**
 * @Interface IActorResponse
 */
export class UnitCache2Other_GetUnit {
    RpcId: number;
    Error?: number;
    Message?: string;

    EntityList?: Uint8Array[];
    ComponentNameList?: string[];
}

/**
 * @ResponseTypeAttribute UnitCache2Other_GetUnit
 * @Interface IActorRequest
 */
export class Other2UnitCache_GetUnit {
    RpcId: number;
    UnitId: number;
    ComponentNameList?: string[];
}

/**
 * @Interface IActorResponse
 */
export class UnitCache2Other_DeleteUnit {
    RpcId: number;
    Error?: number;
    Message?: string;
}

/**
 * @ResponseTypeAttribute UnitCache2Other_DeleteUnit
 * @Interface IActorRequest
 */
export class Other2UnitCache_DeleteUnit {
    RpcId: number;
    UnitId: number;
}